﻿@{
    ViewBag.Title = "菜单编辑";
    Layout = "~/Views/Shared/_LayuiEdit.cshtml";
}
@model List<ZhCun.RightsManage.DBModel.Sys_Menu>
<form class="layui-form" lay-filter="form" onsubmit="return false;">
    <input type="hidden" name="PId" />
    <input type="hidden" name="Id" />
    <div class="layui-form-item">
        <label class="layui-form-label">菜单名称</label>
        <div class="layui-input-block">
            <input type="text" name="MenuName" class="layui-input" lay-verify="required" placeholder="" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单地址</label>
        <div class="layui-input-block">
            <input type="text" name="MenuUrl" class="layui-input" placeholder="" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">数据接口</label>
        <div class="layui-input-block">
            <select name="IsApi" lay-verify="required">
                <option value="true">是</option>
                <option value="false">否</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否展开</label>
        <div class="layui-input-block">
            <input name="IsExpand" type="checkbox" value="true" lay-skin="switch" lay-filter="switchTest" lay-text="展开|关闭" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">菜单图标</label>
        <div class="layui-input-block">
            <input type="text" name="MenuIcon" class="layui-input" placeholder="" />
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="save">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            <button type="Button" class="layui-btn layui-btn-danger" onclick="closePage()">关闭</button>
        </div>
    </div>
</form>